package com.qipa.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 导出排序字段
 */
public class BaseEntity {

    @TableField(exist = false)
    @JsonIgnore
    private String random;//接口需要

    @TableField(exist = false)
    @JsonIgnore
    private String sign;//接口需要

    @TableField(exist = false)
    @JsonIgnore
    private String sortName;//排序字段

    @TableField(exist = false)
    @JsonIgnore
    private String sortOrder;//排序方式：升序或降序

    @TableField(exist = false)
    @JsonIgnore
    private String groupField;//分组字段

    public String getGroupField() {
        return groupField;
    }

    public void setGroupField(String groupField) {
        this.groupField = groupField;
    }

    public String getRandom() {
        return random;
    }

    public void setRandom(String random) {
        this.random = random;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }
}
